package com.zkingsoft.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.zkingsoft.plugin.util.DateUtils;

import java.io.Serializable;

/**
 * 费用表
 * 
 * @date 2017-04-27 14:59
 */
public class CostRegister implements Serializable {

	private static final long serialVersionUID = 1L;

	// 扩展字段
	@DateTimeFormat(pattern = DateUtils.DATE_FORMAT_DD)
	private Date beginTime;
	@DateTimeFormat(pattern = DateUtils.DATE_FORMAT_DD)
	private Date endTime;

	/**
	 * 在读人数平均金额
	 */
	private double avgNum;

	/**
	 * 班级在读人数平均金额
	 */
	private double avgCla;

	/**
	 * 学校在读人数平均金额
	 */
	private double avgSch;

	/**
	 * 费用总金额
	 */
	private double ttMoney;

	/**
	 * 在读人数
	 */
	private int num;

	/**
	 * 学校在读人数
	 */
	private int schNum;

	/**
	 * 班级在读人数
	 */
	private int claNum;

	/**
	 * 班级名称
	 */
	private String claName;

	private Long ctId;

	/**
	 * 领款人
	 */
	private String ctPayee;

	/**
	 * 领款日期
	 */
	@DateTimeFormat(pattern = DateUtils.DATE_FORMAT_DD)
	private Date ctDate;

	/**
	 * 领款部门
	 */
	private String ctDept;

	/**
	 * 费用名目
	 */
	private String ctItems;

	/**
	 * 费用金额
	 */
	private String ctMoney;

	/**
	 * 备注
	 */
	private String ctRemark;

	/**
	 * 备用字段
	 */
	private String ctSpare;

	/**
	 * 关联学生id
	 */
	private Long sId;

	/**
	 * 班级关联id
	 */
	private Long claId;

	/**
	 * 学校名称
	 */
	private String ctSchool;

	public double getAvgNum() {
		return avgNum;
	}

	public void setAvgNum(double avgNum) {
		this.avgNum = avgNum;
	}

	public double getAvgCla() {
		return avgCla;
	}

	public void setAvgCla(double avgCla) {
		this.avgCla = avgCla;
	}

	public double getAvgSch() {
		return avgSch;
	}

	public void setAvgSch(double avgSch) {
		this.avgSch = avgSch;
	}

	public Long getsId() {
		return sId;
	}

	public void setsId(Long sId) {
		this.sId = sId;
	}

	public double getTtMoney() {
		return ttMoney;
	}

	public void setTtMoney(double ttMoney) {
		this.ttMoney = ttMoney;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public int getSchNum() {
		return schNum;
	}

	public void setSchNum(int schNum) {
		this.schNum = schNum;
	}

	public int getClaNum() {
		return claNum;
	}

	public void setClaNum(int claNum) {
		this.claNum = claNum;
	}

	public String getClaName() {
		return claName;
	}

	public void setClaName(String claName) {
		this.claName = claName;
	}

	public Long getCtId() {
		return ctId;
	}

	public void setCtId(Long ctId) {
		this.ctId = ctId;
	}

	public String getCtPayee() {
		return ctPayee;
	}

	public void setCtPayee(String ctPayee) {
		this.ctPayee = ctPayee;
	}

	public Date getCtDate() {
		return ctDate;
	}

	public void setCtDate(Date ctDate) {
		this.ctDate = ctDate;
	}

	public String getCtDept() {
		return ctDept;
	}

	public void setCtDept(String ctDept) {
		this.ctDept = ctDept;
	}

	public String getCtItems() {
		return ctItems;
	}

	public void setCtItems(String ctItems) {
		this.ctItems = ctItems;
	}

	public String getCtMoney() {
		return ctMoney;
	}

	public void setCtMoney(String ctMoney) {
		this.ctMoney = ctMoney;
	}

	public String getCtRemark() {
		return ctRemark;
	}

	public void setCtRemark(String ctRemark) {
		this.ctRemark = ctRemark;
	}

	public String getCtSpare() {
		return ctSpare;
	}

	public void setCtSpare(String ctSpare) {
		this.ctSpare = ctSpare;
	}

	public Long getSId() {
		return sId;
	}

	public void setSId(Long sId) {
		this.sId = sId;
	}

	public Long getClaId() {
		return claId;
	}

	public void setClaId(Long claId) {
		this.claId = claId;
	}

	public String getCtSchool() {
		return ctSchool;
	}

	public void setCtSchool(String ctSchool) {
		this.ctSchool = ctSchool;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}